home *** CD-ROM | disk | FTP | other *** search
/ Aminet 15 / Aminet 15 - Nov 1996.iso / Aminet / dev / basic / ace24dist.lha / ace24.lha / include / prefs / font.h next >
C/C++ Source or Header  |  1996-09-10  |  1KB  |  73 lines

  1. #ifndef PREFS_FONT_H
  2. #define PREFS_FONT_H 1
  3. /*
  4. ** font.h for ACE Basic
  5. **
  6. ** Note: Translated to ACE by ConvertC2ACE
  7. **       @ MapMeadow Software, Nils Sjoholm
  8. **
  9. **
  10. ** Date: 09/03/95
  11. **
  12. **
  13. */
  14.  
  15. /*
  16. ** This are the StructPointer defines for font.h
  17. */
  18. #ifndef FontPrefsPtr
  19. #define FontPrefsPtr ADDRESS
  20. #endif
  21. /*
  22. ** End of StructPointer defines for font.h
  23. */
  24.  
  25.  
  26. /*****************************************************************************/
  27.  
  28.  
  29. #ifndef EXEC_TYPES_H
  30. #include <exec/types.h>
  31. #endif
  32.  
  33. #ifndef LIBRARIES_IFFPARSE_H
  34. #include <libraries/iffparse.h>
  35. #endif
  36.  
  37. #ifndef GRAPHICS_TEXT_H
  38. #include <graphics/text.h>
  39. #endif
  40.  
  41.  
  42. /*****************************************************************************/
  43.  
  44.  
  45. #define ID_FONT 1179602516 
  46.  
  47.  
  48. #define FONTNAMESIZE (128)
  49.  
  50. STRUCT FontPrefs
  51.  
  52.     STRING fp_Reserved SIZE 12  /* 3*SIZEOF(LONGINT) */
  53.     SHORTINT       fp_Reserved2 
  54.     SHORTINT       fp_Type 
  55.     BYTE        fp_FrontPen 
  56.     BYTE        fp_BackPen 
  57.     BYTE        fp_DrawMode 
  58.     TextAttr fp_TextAttr 
  59.     STRING fp_Name SIZE 128  /* FONTNAMESIZE  */
  60. END STRUCT 
  61.  
  62.  
  63. /* constants for FontPrefs.fp_Type */
  64. #define FP_WBFONT     0
  65. #define FP_SYSFONT    1
  66. #define FP_SCREENFONT 2
  67.  
  68.  
  69. /*****************************************************************************/
  70.  
  71.  
  72. #endif /* PREFS_FONT_H */
  73.